package cn.abcsys.cloud.devops.runtime.entity;

import java.util.Date;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.DateSerializer;
/**
 * 环境
 * @author mayunhao
 * @date 2017-06-16
 */
public class Env {
	/*
	 * 主键
	 */
    private Integer envId;
    /*
     * 环境名称
     */
    private String envName;
    /*
     * 环境状态
     */
    private Byte envStatus;
    /*
     * 描述信息
     */
    private String envDesc;
    /*
     * 创建时间
     */
    @JsonSerialize(using = DateSerializer.class)
    private Date envCreatetime;
    /*
     * 创建人
     */
    private Integer envCreator;

    public Integer getEnvId() {
        return envId;
    }

    public void setEnvId(Integer envId) {
        this.envId = envId;
    }

    public String getEnvName() {
        return envName;
    }

    public void setEnvName(String envName) {
        this.envName = envName == null ? null : envName.trim();
    }

    public Byte getEnvStatus() {
        return envStatus;
    }

    public void setEnvStatus(Byte envStatus) {
        this.envStatus = envStatus;
    }

    public String getEnvDesc() {
        return envDesc;
    }

    public void setEnvDesc(String envDesc) {
        this.envDesc = envDesc == null ? null : envDesc.trim();
    }

    public Date getEnvCreatetime() {
        return envCreatetime;
    }

    public void setEnvCreatetime(Date envCreatetime) {
        this.envCreatetime = envCreatetime;
    }

    public Integer getEnvCreator() {
        return envCreator;
    }

    public void setEnvCreator(Integer envCreator) {
        this.envCreator = envCreator;
    }

}